package com.sqx.modules.search.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.search.entity.SearchRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 搜索记录(SearchRecord)表数据库访问层
 *
 * @author makejava
 * @since 2024-05-28 09:33:01
 */
 @Mapper
public interface SearchRecordDao extends BaseMapper<SearchRecord>{

       List<Map<String, Object>> searhCountGroup(@Param("keys")String keys);

       List<Map<String, Object>> querySearchRecord(@Param("content")String content,@Param("userName")String userName,@Param("userId")Long userId,
                                                   @Param("phone")String phone,@Param("startTime")String startTime,@Param("endTime")String endTime);
}

